package org.zfes.snowier.cloud.zbss.metting.biz.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class MetCmsContent extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public MetCmsContent() {}
	public MetCmsContent(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotBlank(message="会议标题不能为空")
	@javax.validation.constraints.NotNull(message="会议标题不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="会议标题长度不能大于255")
	  private java.lang.String title;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="短内容长度不能大于255")
	  private java.lang.String contentShort;
	  private java.util.Date updateTime;
	  private java.util.Date createTime;
	@javax.validation.constraints.NotNull(message="状态_Q不能为空")
	  private java.lang.Byte status;
	@javax.validation.constraints.NotNull(message="类型_Q不能为空")
	  private java.lang.Byte cmsType;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="图片长度不能大于255")
	  private java.lang.String img;
	@org.hibernate.validator.constraints.Length(min=0,max=16777215,message="内容长度不能大于16,777,215")
	  private java.lang.String content;
 
	private Integer sortNum;
	
	
	//<-------------------------------------------->
	public MetCmsContent setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public MetCmsContent setContentShort(java.lang.String contentShort){
		this.contentShort=contentShort==null?null:contentShort.trim();
	 return this;
	}
	public java.lang.String getContentShort(){
		return this.contentShort;
	}
	public MetCmsContent setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public MetCmsContent setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public MetCmsContent setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public MetCmsContent setCmsType(java.lang.Byte cmsType){
	 this.cmsType=cmsType;
	 return this;
	}
	public java.lang.Byte getCmsType(){
		return this.cmsType;
	}
	public MetCmsContent setImg(java.lang.String img){
		this.img=img==null?null:img.trim();
	 return this;
	}
	public java.lang.String getImg(){
		return this.img;
	}
	public MetCmsContent setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public Integer getSortNum() {
		return sortNum;
	}
	public MetCmsContent setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
		 return this;
	}

}
